<?php

	Class Controller {

		private $model;
		private $view;
		private $params;
		private $accessible = false;


		function __construct($params = null) {
			$this->view = new View();
			$this->params = $params;
		}

		function action_index() {
			
		}

		function getParams() {
			return $this->params;
		}

		function getView() {
			return $this->view;
		}		

		function checkRole() {
			//Проверка на доступ
		}

		function isAccessible() {
			return $this->accessible;
		}

	}

?>